﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Hotel.Models.Entity;
using Hotel.Models.DataAccess;

namespace Hotel.Models.Services
{
    public class RoomPriceService
    {
        public static List<RoomPrice> GetListRoomPrice(int roomPriceId)
        {
            return DARoomPrice.GetListRoomPrice(roomPriceId);
        }
        public static bool SaveRoomPrice(RoomPrice roomprice)
        {
            return DARoomPrice.SaveRoomPrice(roomprice);
        }
        public static RoomPrice GetRoomPriceDetail(int roomId)
        {
            return DARoomPrice.GetRoomPriceByRoomID(roomId);
        }
    }
}